import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
 
// 路由类型:RouteRecordRaw
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: () => import('/src/components/Apps/MatchScore/Home.vue'),
  },
  {
    path: "/RefereeRating",
    name: "RefereeRating",
    component: () => import('/src/components/Apps/MatchScore/RefereeRating.vue'),
  },
  {
    path: "/AdminPageOne",
    name: "AdminPageOne",
    component: () => import('/src/components/Apps/MatchScore/AdminPageOne.vue'),
  },
  {
    path: "/ExpertHome",
    name: "ExpertHome",
    component: () => import('/src/components/Apps/MatchScore/ExpertHome.vue'),
  },
  {
    path: "/RefereeHome",
    name: "RefereeHome",
    component: () => import('/src/components/Apps/MatchScore/RefereeHome.vue'),
  },
];
 
const router = createRouter({
  // 路由模式
  history: createWebHistory(),
  routes,
});
 
export default router;